package com.testplatfrom.autoapi.domain.dto.tree;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("新增树型结构")
public class TestplatfromTreeAdd {



    /**
     * 名称
     */
    @NotEmpty(message = "名称不能为空")
    @ApiModelProperty("名称")
    private String treeName;

    /**
     * 父级id
     */
    @NotEmpty(message = "父级id不能为空")
    @ApiModelProperty("父级id")
    private String parentId;


}
